package com.pzh.assignment.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pzh.assignment.common.bean.vo.PlanVO;
import com.pzh.assignment.entity.Plan;
import com.pzh.assignment.mapper.PlanMapper;
import com.pzh.assignment.service.IPlanService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author pengzhihao
 * @since 2022-04-16
 */
@Service
public class PlanServiceImpl extends ServiceImpl<PlanMapper, Plan> implements IPlanService {

    @Autowired
    PlanMapper planMapper;

    @Override
    public IPage<PlanVO> findPlanVOByPage(IPage<PlanVO> page) {
        return planMapper.findPlanVOByPage(page);
    }
}
